﻿using System.Net.Sockets;

namespace Honeycomb.Transport.Ipv4Synchronous
{
    /// <summary>
    /// INetworkClient implementation.
    /// </summary>
    public sealed class NetworkClient : NetworkPeer, INetworkClient
    {
        /// <summary>
        /// Constructor.
        /// </summary>
        /// <param name="host">Hostname.</param>
        /// <param name="port">Port.</param>
        public NetworkClient(string host, int port) : base(new TcpClient(host, port))
        {
        }
    }
}
